Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"My first dapp, check readme" #59

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

PrincesoDan
Copy link

No description provided.

Copy link

vercel bot commented Aug 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
create-soroban-dapp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2024 2:56pm
create-soroban-dapp-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2024 2:56pm

@esteblock
Copy link
Member

Preview: https://create-soroban-dapp-git-fork-princesodan-princesodan-paltalabs.vercel.app/

@PrincesoDan
Copy link
Author

I stayed motivated by the challenge, so I made some additional improvements to my initial code c:
https://github.com/PrincesoDan/paltaLabsChallenge/tree/PrincesoDan

@esteblock

soroban-react-dapp/.soroban/identity/admin.toml Outdated Show resolved Hide resolved
soroban-react-dapp/README.md Show resolved Hide resolved
soroban-react-dapp/contracts/deployments.json Outdated Show resolved Hide resolved
soroban-react-dapp/contracts/package.json Show resolved Hide resolved
soroban-react-dapp/contracts/title/src/lib.rs Outdated Show resolved Hide resolved
soroban-react-dapp/contracts/title/src/lib.rs Show resolved Hide resolved
soroban-react-dapp/contracts/title/src/lib.rs Outdated Show resolved Hide resolved
}

#[test]
fn test_modify_title() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no test to indeed see that the auth control is working

soroban-react-dapp/README.md Outdated Show resolved Hide resolved
soroban-react-dapp/README.md Outdated Show resolved Hide resolved
…rove ManageTitle component

- Updated README.md with comprehensive instructions on setting up the application, deploying the smart contract, and configuring the admin user.
- Deployed the smart contract to the Stellar blockchain using Soroban.
- Enhanced ManageTitle.tsx component:
  - Implemented automatic refresh for the list of authorized users.
  - Added automatic form field clearing after actions like adding a user, modifying the admin, or changing the title.
  - Improved semantic HTML structure: set contract section titles with larger, bold font.
let user = Address::generate(&env);

// Autenticar y setear al admin
client.mock_auths(&[MockAuth {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esta bien mockeado el auth, pero para testear se deberían revisar las ultimas auths y confirmar que la auth realmente existió. Esto esta mejor que antes de toda maneras

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants